/* General Styles */
:root {
  --primary: #132c17;
  --secondary: gold;
  --accent: #d4af37;
  --dark: #1c1c1c;
  --light: #f9f9f9;
  --text: #333;
  --text-light: #777;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text);
  overflow-x: hidden;
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
  color: var(--secondary);
  position: relative;
  padding: 0 1rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary);
  margin: 0.5rem auto;
}

.divider {
  width: 80px;
  height: 4px;
  background: var(--secondary);
  margin: 0 auto 2rem;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: var(--primary);
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
  margin-right: auto;
  padding-left: 0px;
  z-index: 1001;
}

.logo img {
  height: 35px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.nav-link {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  background-color: var(--secondary);
  color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
  padding: 0.5rem;
}

/* ===== HERO SLIDESHOW FIXES ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  margin-top: 70px;
  width: 100%;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 90%;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100%;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  color: var(--secondary);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  line-height: 1.2;
  font-weight: 700;
  width: 100%;
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  margin-bottom: 2.5rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  line-height: 1.5;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 500px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--secondary);
  color: var(--primary);
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary);
  text-align: center;
  min-width: 160px;
  flex: 1;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.btn:hover {
  background: transparent;
  color: var(--secondary);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--secondary);
}

.btn-outline:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* Who We Are Section */
.who-we-are {
  padding: 4rem 1rem;
  background: white;
  width: 100%;
}

.who-content {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
  padding: 0 1rem;
}

.who-content p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.process-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 3rem;
  max-width: 100%;
  padding: 0 1rem;
}

.process-step {
  text-align: center;
  padding: 1rem 0.5rem;
  background: var(--light);
  border-radius: 8px;
  min-width: 110px;
  flex: 1;
  border: 2px solid var(--secondary);
  max-width: 160px;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 auto 0.8rem;
}

.process-step h4 {
  font-size: 0.8rem;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}

.process-arrow {
  font-size: 1.2rem;
  color: var(--secondary);
  padding: 0 0.3rem;
}

/* Core Services Section */
.core-services {
  padding: 4rem 1rem;
  background: var(--light);
  width: 100%;
}

.services-subtitle {
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
  width: 100%;
  padding: 0 1rem;
}

.service-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.6;
  flex-grow: 1;
  font-size: 0.95rem;
}

.services-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 0 1rem;
}

/* Integrity Section */
.integrity-section {
  padding: 4rem 1rem;
  background: var(--primary);
  color: white;
  width: 100%;
}

.integrity-content {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
  padding: 0 1rem;
}

.integrity-content p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.integrity-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding: 0 1rem;
}

.badge {
  padding: 0.8rem 1.5rem;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 30px;
  font-weight: bold;
  font-size: clamp(0.8rem, 1.5vw, 1.1rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Final CTA Section */
.final-cta {
  padding: 4rem 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  color: white;
  text-align: center;
  width: 100%;
}

.final-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  color: var(--secondary);
  padding: 0 1rem;
}

.final-cta p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0 1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: white;
  padding: 3rem 0 0;
  width: 100%;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-logo {
  height: 35px;
  margin-bottom: 1rem;
  width: auto;
  max-width: 100%;
}

.footer-section h3 {
  color: var(--secondary);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.footer-section ul li i {
  margin-right: 0.5rem;
  color: var(--secondary);
  width: 16px;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--secondary);
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1.1rem;
}

.social-links a:hover {
  background: var(--secondary);
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem;
  background: rgba(0,0,0,0.2);
  margin-top: 2rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: #ccc;
  padding: 0 1rem;
}

.footer-bottom a {
  color: var(--secondary);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: gold;
  color: #132c17;
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.back-to-top.visible {
  display: flex;
}

.back-to-top:hover {
  background: #132c17;
  color: gold;
  transform: translateY(-3px);
}

/* ===== MOBILE RESPONSIVE STYLES ===== */

/* Tablets and below */
@media (max-width: 1024px) {
  .navbar {
    padding: 1rem;
  }
  
  .nav-links {
    gap: 0.5rem;
  }
  
  .nav-link {
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
  }
  
  .process-flow {
    gap: 0.3rem;
  }
  
  .process-step {
    min-width: 100px;
    padding: 0.8rem 0.3rem;
  }
  
  .step-number {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .process-step h4 {
    font-size: 0.75rem;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .container {
    padding: 0 0.5rem;
  }
  
  .navbar {
    padding: 0.8rem 1rem;
  }
  
  .logo img {
    height: 30px;
  }

  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--primary);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transition: left 0.3s ease;
    z-index: 999;
    gap: 0;
    overflow-y: auto;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-link {
    width: 90%;
    text-align: center;
    padding: 1.2rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 1.1rem;
    margin: 0 auto;
  }

  /* Hero Section */
  .hero {
    height: 80vh;
    min-height: 500px;
    margin-top: 60px;
  }
  
  .hero-content {
    padding: 1.5rem;
    max-width: 95%;
  }
  
  .hero-content h1 {
    margin-bottom: 1rem;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
  
  .hero-content p {
    margin-bottom: 2rem;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    max-width: 300px;
  }
  
  .btn {
    padding: 14px 20px;
    width: 100%;
    max-width: none;
    margin: 0;
    font-size: 1rem;
  }
  
  /* Sections */
  .who-we-are,
  .core-services,
  .integrity-section,
  .final-cta {
    padding: 3rem 0.5rem;
  }
  
  .process-flow {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .process-arrow {
    transform: rotate(90deg);
    padding: 0.5rem 0;
    font-size: 1.5rem;
  }
  
  .process-step {
    width: 100%;
    max-width: 250px;
    min-width: auto;
    padding: 1rem;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .service-card {
    padding: 1.5rem 1rem;
  }
  
  .service-icon {
    font-size: 2.5rem;
  }

  /* Integrity Badges */
  .integrity-badges {
    gap: 0.8rem;
    padding: 0 0.5rem;
  }
  
  .badge {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    flex: 1;
    min-width: 120px;
    text-align: center;
  }
  
  /* Final CTA */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 0 0.5rem;
    max-width: 300px;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: none;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .footer-section {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .back-to-top {
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .hero {
    height: 75vh;
    min-height: 450px;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .hero-content h1 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }
  
  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .process-step {
    padding: 0.8rem;
    max-width: 200px;
  }
  
  .step-number {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  
  .process-step h4 {
    font-size: 0.75rem;
  }
  
  .service-card {
    padding: 1.2rem 0.8rem;
  }
  
  .service-card h3 {
    font-size: 1.1rem;
    min-height: auto;
    margin-bottom: 0.8rem;
  }
  
  .service-card p {
    font-size: 0.9rem;
  }
  
  .badge {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    min-width: 100px;
  }
  
  .final-cta h2 {
    font-size: 1.6rem;
  }
  
  .footer-section h3 {
    font-size: 1.1rem;
  }
  
  .footer-section ul li {
    font-size: 0.9rem;
  }
  
  .social-links a {
    width: 38px;
    height: 38px;
  }
}

/* Extra small devices (iPhone SE, etc) */
@media (max-width: 375px) {
  .hero {
    height: 70vh;
    min-height: 400px;
  }
  
  .hero-content {
    padding: 0.8rem;
  }
  
  .hero-content h1 {
    font-size: 1.4rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
  
  .process-step {
    padding: 0.6rem;
    max-width: 180px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    padding: 1rem 0.8rem;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
  
  .badge {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
    min-width: 90px;
  }
  
  .footer-section ul li {
    font-size: 0.85rem;
  }
}

/* Very small devices */
@media (max-width: 320px) {
  .hero-content h1 {
    font-size: 1.3rem;
  }
  
  .hero-content p {
    font-size: 0.85rem;
  }
  
  .btn {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
  
  .process-step {
    max-width: 150px;
    padding: 0.5rem;
  }
  
  .step-number {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
  
  .process-step h4 {
    font-size: 0.7rem;
  }
}